package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class UpLoadIdCardRequest {
    @ApiModelProperty("01—身份证国徽面 02—身份证人像面")
    @NotNull(message = "上传类型不能为空")
    private String fileType;

    @ApiModelProperty("文件")
    private MultipartFile uploadFile;
}
